+include:
+ - project: 'gnome/citemplates'
+ file: 'flatpak/flatpak_ci_initiative.yml'
+
stages:
- build
- analysis
artifacts:
paths:
- "${APPID}-dev.flatpak"
+ - 'repo.tar'
expire_in: 1 day
script:
- bash -x ./.gitlab-ci/flatpak-build.sh "${APPID}"
variables:
APPID: org.gtk.IconBrowser4
+# Publish the demo apps to the GNOME Nightly repo
+# https://wiki.gnome.org/Apps/Nightly
+# https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak
+nightly demo:
+ extends: '.publish_nightly'
+ dependencies: ['flatpak-master:demo']
+ needs: ['flatpak-master:demo']
+
+nightly factory:
+ extends: '.publish_nightly'
+ dependencies: ['flatpak-master:widget-factory']
+ needs: ['flatpak-master:widget-factory']
+
+nightly icon-browser:
+ extends: '.publish_nightly'
+ dependencies: ['flatpak-master:icon-browser']
+ needs: ['flatpak-master:icon-browser']
+
static-scan:
image: $FEDORA_IMAGE
stage: analysis
${appid}-dev.flatpak \
--runtime-repo=https://nightly.gnome.org/gnome-nightly.flatpakrepo \
${appid}
+
+# to be consumed by the nightly publish jobs
+if [[ $CI_COMMIT_BRANCH == master ]]; then
+ tar cf repo.tar ${repodir}
+fi